#ifndef __STEPPERMOTOR_H__
#define __STEPPERMOTOR_H__

#include<reg51.h>

sbit IN1_A=P2^4;
sbit IN2_B=P2^5;
sbit IN3_C=P2^6;
sbit IN4_D=P2^7;         //定义ULN2003控制步进电机管脚

void MoveMotor(unsigned char flag);//控制步进电机旋转(flag:0正1反) 
#endif